/*
 * ServerException.java
 *
 * Dunsel - Java library for asymmetric peer-to-peer content streaming
 * Copyright (C) 2009 by Matthew Werny
 * All Rights Reserved
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 3 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
 */
package net.iceflow.dunsel.commons.exception;

/**
 * Abstract base exception for all exceptions specific to the server packages of the Dunsel library.
 */
public class PortOutOfRangeException extends DunselException {

   /**
    * Constructs a new instance with the message and throwable as null.
    */
   public PortOutOfRangeException() {
      // Simply call the parent constructor
      super();
   }

   /**
    * Constructs a new instance with a message and throwable as null.
    * @param message text of the message
    */
   public PortOutOfRangeException(final String message) {
      // Simply call the parent constructor
      super(message);
   }

   /**
    * Constructs a new instance with a message and a Throwable cause.
    * @param message text of the message
    * @param cause Throwable that caused this exception to be thrown
    */
   public PortOutOfRangeException(final String message, final Throwable cause) {
      // Simply call the parent constructor
      super(message, cause);
   }

   /**
    * Constructs a new instance with a Throwable cause.
    * @param cause Throwable that caused this exception to be thrown
    */
   public PortOutOfRangeException(final Throwable cause) {
      // Simply call the parent constructor
      super(cause);
   }
}
